<?php
namespace App\Domain\Door;

use Illuminate\Support\ServiceProvider;

class DoorServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\Door\Service\DoorService',
            'App\Domain\Door\Service\DoorServiceImpl'
        );
        $this->app->singleton('doorService', function () {
            return $this->app->make('App\Domain\Door\Service\DoorService');
        });
    }
}
